
package com.ssi.tatts.model.hibernate.domainobjects;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.etu.jsonservices.util.StringUtils;
import com.ssi.tatts.model.IWorkgroup;

@SuppressWarnings("serial")
@Entity
@Table(name="Workgroups")
public class Workgroup implements IWorkgroup{
	
	@Id
	private Long id;
	private Long metric;
	
	private String name;

	public Long getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String toString(){
		return StringUtils.toJSONString(this);
	}
	
	public Long getMetric() {
		return metric;
	}

	public void setMetric(Long metric) {
		this.metric = metric;
	}


}
